<?php
	//require 'page-check.php';
	include './libs/Smarty.class.php';
	
	$Smarty = new  Smarty();
	$Smarty->setTemplateDir("./TP");  //设置模板路径
	//$smarty->debugging = true; //是否开启调试模式
	//$smarty->cache_lifetime = 120; //设置缓存时间
	
	$Smarty->assign("username",$_SESSION['username']);